package pers.wang.toolset.coder.statecode.state;
public enum SystemStateCode{
	SUCCESS(200,"成功"),
	REQUEST_ERROR(400,"请求错误"),
	AUTHENTICATION_FAILED(401,"认证失败"),
	NO_AUTHORITY(403,"无权限"),
	METHOD_NOT_ALLOWED(405,"不允许的方法"),
	SERVICE_TIMEOUT(408,"服务超时"),
	ACCOUNT_LOCKOUT(432,"用户账户被锁定，请联系客服"),
	SERVER_ERROR(500,"服务端异常");
	private int code;
	private String describe;
	private SystemStateCode() {
	}
	private SystemStateCode(int code, String describe) {
		this.code = code;
		this.describe = describe;
	}
	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}
	public String getDescribe() {
		return describe;
	}
	public void setDescribe(String describe) {
		this.describe = describe;
	}
}
